package ch.elca.training.service;

import java.util.List;

import ch.elca.training.dom.Project;
import ch.elca.training.dto.ProjectCriterionDto;
import ch.elca.training.exception.AtLeastOneCriterionMustBePutIntoSystemException;

public interface ProjectService {

	public void createProject(Project project);

	public void editProject(Project project);

	public List<Project> searchProject(ProjectCriterionDto criterion)
			throws AtLeastOneCriterionMustBePutIntoSystemException;

	public void deleteProjects(List<Project> projects);

	public void saveProject(Project project);
	
	public Project findById(long id);
}
